﻿using System;
using System.Collections.Generic;
using System.Text;
using AspNetCs.DALFactory;
using AspNetCs.IDAL;
using AspNetCs.Model;
namespace AspNetCs.Bll
{
    public class Integral
    {
        private IIntegral IntegralDAL = Conn.CreateIntegral();

        /// <summary>
        /// 积分添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public int Add(Integral_Model model)
        {
            if (model == null) return -1;
            return IntegralDAL.Add(model);
        }
        private Integral()
        {

        }
        public static Integral CreateNew
        {
            get
            {
                return new Integral();
            }
        }

    }
}
